DATALOG SIRUPs Uniform Boundedness is Undecidable
نویسنده
چکیده
Lemma 2.19 If C(g) does not hold then for each constant C there exist a database D, , and a fact which can be proved, with the rule R, in the database D, but the proof requires more than C steps. Proof: We proceed in a similar way as in the proof of lemma 2.16, with the following diierences: (i) we no longer assume that the IDB input is empty. Instead, we require that there are the following CONFIG facts in the input: (ii) we require that for each x C Motorway(joker; joker; : : :joker; A px) holds. This ends the proof of Theorem 2.20 Uniform boundedness of single rule DATALOG programs is undecidable. 3 Acknowledgment This paper has been written while the author was enjoying the hospitality of the people of Laboratoire d'Informatique Fondamentale in Lille (France). It is much to little to merely write that I had perfect conditions for work there. I would like to thank Philippe Devienne and Jean-Christophe Routier for helpful discussion and Leszek Pacholski for his spiritual support. In this way, one could think, we secure that it is possible to start the computation of the Achilles-Turtle machine in each place, where any derivation step is made. But it is not enough to go in the footsteps of the proof of lemma 2.15. We require there, that the initial connguration is not only provable, what is really secured by the would-be rule above, but that it is provable in a bounded number of steps (in fact, just one step, in the previous section). We are to think of a new trick to assure that. 2.7 Single rule program: how to construct it The single recursive rule R is: Where the constant joker occurs p times in the "predicate" Motorway. We have added two additional arguments to the recursive predicate here. The rule asserts that if something can be derived then its second argument is run. So, if only the constants run and jump are not interpreted in the same way in the database, then the fact A 2) can not be proved by the program, and if it is prov-able then it is provable in 0 steps (is given as a part of the input). The fact CONFIG(run; jump; joker; joker; joker) does not require deep proofs: in fact if any proof at all is possible then the fact is given in the …
منابع مشابه
Achilles, Turtle, and Undecidable Boundedness Problems for Small DATALOG Programs
DATALOG is the language of logic programs without function symbols. It is considered to be the paradigmatic database query language. If it is possible to eliminate recursion from a DATALOG program then it is bounded. Since bounded programs can be executed in the parallel constant time, the possibility of automatized boundedness detecting is believed to be an important issue, and has been studie...
متن کاملUndecidable Boundedness Problems for Datalog Programs
A given Datalog program is bounded if its depth of recursion is independent of the input database. Deciding boundedness is a basic task for the analysis of database logic programs. The undecidability of Datalog boundedness was rst demonstrated by Gaifman et al. We introduce new techniques for proving the undecidability of various kinds of boundedness, which allow us to considerably strengthen t...
متن کاملSome Positive Results for Boundedness of Multiple Recursive Rules
Following results are sketched in this extended abstract Datalog recursive programs where each rule has at most one subgoal called unit recursions are shown to be bounded with an e ective con struction of equivalent non recursive programs A generalized chain program which allow IDB predicates of arbitrary arity and remove the uniqueness condition of chain variables is bounded if and only if it ...
متن کاملPredicate Boundedness of Linear Monadic Datalog is in PSPACE
Datalog programs, are a special case of logic programs without function symbols. Detection of boundedness permits Datalog programs to be optimized by the elimination of recursion. To determine whether a predicate is bounded in a Datalog program is known to be undecidable. However, previous work (Cosmadakis et al., 20th ACM Symposium on the Theory of Computing, 1988) has show that for monadic Da...
متن کاملDecomposition of Linear Recursive Logic Programs
In practise, most recursive logic queries to a deductive database are expressed by linear recursive datalog programs with exactly one linear recursive rule, so-called linear datalog sirups. The notion of k-sided linear datalog sirups has been introduced by Naughton, who characterized one-sided linear datalog sirups based on a graph model. We use another graph representation of linear datalog si...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1996